package com.xingdata.jjxc.enty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.xingdata.jjxc.utils.StringUtil;
import com.xingdata.jjxc.utils.database.Column;

/**
 * 
 * HUD上传参数实体
 * 
 * @author JiangMin
 * 
 */
public class HUDParameterEntity implements Serializable, ITableEntity {
	private static final long serialVersionUID = 1L;
	private String TAG = this.getClass().getName();
	// 1、规划完路径 然后 发送标识 0 正常状态
	private String Nav_amp_router_plan_over;
	// 2、重新算路提示消息 0 正常状态
	private String Nav_amp_router_plan_reset;
	// 3、下一步的方向图标下标
	private String Nav_amp_seg_turn_flag;
	// 4、下一步的距离
	private String Nav_amp_seg_next_distance;
	// 5、下一步的路名
	private String Nav_amp_seg_next_roadname;
	// 6、当前行驶路径的轨迹所有点坐标集合 --- 规划好的路径坐标集合 所有包涵的点 都减去 开头点的坐标
	private String Nav_amp_router_locs;
	// 7、经纬度 ----当前车（暂用手机定位） 经纬度 坐标 减去 路线口头坐标计算后的结果
	private String Nav_amp_current_loc;
	// 8 当前行驶道路名
	private String Nav_amp_current_roadname;
	// 9、总距离
	private String Nav_amp_distance_router_totail;
	// 10、剩余道路距离
	private String Nav_amp_distance_router_leftOver;
	// 11、剩余时间
	private String Nav_amp_time_router_leftOver;
	// 12、当前道路限速提示
	private String Nav_amp_road_limit_speed;
	// 13、当前定位城市 限行尾号 的 限行时间段
	private String Nav_amp_current_limits_timeRage;
	// 14、当前定位城市 限行尾号
	private String Nav_amp_current_limits_number;
	// 15、实时车速
	private String Nav_amp_current_speed;
	// 16、当前 工作日 为周几
	private String Nav_amp_current_workday;
	// 17、开关  0 开   9 关 前三位对应 亮度  电话  短信  之后为其他媒体 微信 QQ 旺信 根据需求添加  3&0&0&0&0&0
	private String Jj_setting_flag;
	// 18、线路 坐标 数组 个数
	private String Nav_amp_router_locs_count;
	// 19、 0开始  1结束   9未知错误
	private String Nav_amp_nav_state;
	// 20、app 状态   0前台  1后台   9退出
	private String Nav_app_state;
	// 21、当前城市
	private String Nav_amp_current_city;
	// 22、天气
	private String Nav_amp_current_weather;
	// 23、温度区间
	private String Nav_amp_current_temperatureRage;
	// 24、PM2.5 值
	private String Nav_amp_PM25;
	// 25、当前日期 2015年05月19日
	private String Nav_amp_current_date;

	public class ColumnName {
		public static final String Nav_amp_router_plan_over = "Nav_amp_router_plan_over";
		public static final String Nav_amp_router_plan_reset = "Nav_amp_router_plan_reset";
		public static final String Nav_amp_seg_turn_flag = "Nav_amp_seg_turn_flag";
		public static final String Nav_amp_seg_next_distance = "Nav_amp_seg_next_distance";
		public static final String Nav_amp_seg_next_roadname = "Nav_amp_seg_next_roadname";
		public static final String Nav_amp_router_locs = "Nav_amp_router_locs";
		public static final String Nav_amp_current_loc = "Nav_amp_current_loc";
		public static final String Nav_amp_current_roadname = "Nav_amp_current_roadname";
		public static final String Nav_amp_distance_router_totail = "Nav_amp_distance_router_totail";
		public static final String Nav_amp_distance_router_leftOver = "Nav_amp_distance_router_leftOver";
		public static final String Nav_amp_time_router_leftOver = "Nav_amp_time_router_leftOver";
		public static final String Nav_amp_road_limit_speed = "Nav_amp_road_limit_speed";
		public static final String Nav_amp_current_limits_timeRage = "Nav_amp_current_limits_timeRage";
		public static final String Nav_amp_current_limits_number = "Nav_amp_current_limits_number";
		public static final String Nav_amp_current_speed = "Nav_amp_current_speed";
		public static final String Nav_amp_current_workday = "Nav_amp_current_workday";
		public static final String Jj_setting_flag = "Jj_setting_flag";
		public static final String Nav_amp_router_locs_count = "Nav_amp_router_locs_count";
		public static final String Nav_amp_nav_state = "Nav_amp_nav_state";
		public static final String Nav_app_state = "Nav_app_state";
		public static final String Nav_amp_current_city = "Nav_amp_current_city";
		public static final String Nav_amp_current_weather = "Nav_amp_current_weather";
		public static final String Nav_amp_current_temperatureRage = "Nav_amp_current_temperatureRage";
		public static final String Nav_amp_PM25 = "Nav_amp_PM25";
		public static final String Nav_amp_current_date = "Nav_amp_current_date";
	}

	@Override
	public List<Column> GetColumns() {
		List<Column> columns = new ArrayList<Column>();
		String[] columnNames = { 
				ColumnName.Nav_amp_router_plan_over,
				ColumnName.Nav_amp_router_plan_reset,
				ColumnName.Nav_amp_seg_turn_flag,
				ColumnName.Nav_amp_seg_next_distance,
				ColumnName.Nav_amp_seg_next_roadname,
				ColumnName.Nav_amp_router_locs, 
				ColumnName.Nav_amp_current_loc,
				ColumnName.Nav_amp_current_roadname,
				ColumnName.Nav_amp_distance_router_totail,
				ColumnName.Nav_amp_distance_router_leftOver,
				ColumnName.Nav_amp_time_router_leftOver,
				ColumnName.Nav_amp_road_limit_speed,
				ColumnName.Nav_amp_current_limits_timeRage,
				ColumnName.Nav_amp_current_limits_number,
				ColumnName.Nav_amp_current_speed,
				ColumnName.Nav_amp_current_workday,
				ColumnName.Jj_setting_flag,
				ColumnName.Nav_amp_router_locs_count,
				ColumnName.Nav_amp_nav_state, ColumnName.Nav_app_state,
				ColumnName.Nav_amp_current_city,
				ColumnName.Nav_amp_current_weather,
				ColumnName.Nav_amp_current_temperatureRage,
				ColumnName.Nav_amp_PM25, ColumnName.Nav_amp_current_date };

		for (int i = 0; i < columnNames.length; i++) {
			Column column = new Column();
			column.setColumnName(columnNames[i]);
			column.setColumnType(ColumnType.String);
			columns.add(column);
		}
		return columns;
	}

	/**
	 * 1、规划完路径 然后 发送标识 0 正常状态
	 * 
	 * @return
	 */
	public String getNav_amp_router_plan_over() {
		return Nav_amp_router_plan_over;
	}

	/**
	 * 1、规划完路径 然后 发送标识 0 正常状态
	 * 
	 * @param Nav_amp_router_plan_over
	 */
	public void setNav_amp_router_plan_over(String Nav_amp_router_plan_over) {
		this.Nav_amp_router_plan_over = Nav_amp_router_plan_over;
	}

	/**
	 * 2、重新算路提示消息 0 正常状态
	 * 
	 * @return
	 */
	public String getNav_amp_router_plan_reset() {
		return Nav_amp_router_plan_reset;
	}

	/**
	 * 2、重新算路提示消息 0 正常状态
	 * 
	 * @param Nav_amp_router_plan_reset
	 */
	public void setNav_amp_router_plan_reset(String Nav_amp_router_plan_reset) {
		this.Nav_amp_router_plan_reset = Nav_amp_router_plan_reset;
	}

	/**
	 * 下一步的方向图标下标
	 * 
	 * @return
	 */
	public String getNav_amp_seg_turn_flag() {
		return Nav_amp_seg_turn_flag;
	}

	/**
	 * 下一步的方向图标下标
	 * 
	 * @param Nav_amp_seg_turn_flag
	 */
	public void setNav_amp_seg_turn_flag(String Nav_amp_seg_turn_flag) {
		this.Nav_amp_seg_turn_flag = Nav_amp_seg_turn_flag;
	}

	/**
	 * 下一步的距离
	 * 
	 * @return
	 */
	public String getNav_amp_seg_next_distance() {
		return Nav_amp_seg_next_distance;
	}

	/**
	 * 下一步的距离
	 * 
	 * @param Nav_amp_seg_next_distance
	 */
	public void setNav_amp_seg_next_distance(String Nav_amp_seg_next_distance) {
		this.Nav_amp_seg_next_distance = Nav_amp_seg_next_distance;
	}

	/**
	 * 下一步的路名
	 * 
	 * @return
	 */
	public String getNav_amp_seg_next_roadname() {
		return Nav_amp_seg_next_roadname;
	}

	/**
	 * 下一步的路名
	 * 
	 * @param Nav_amp_seg_next_roadname
	 */
	public void setNav_amp_seg_next_roadname(String Nav_amp_seg_next_roadname) {
		this.Nav_amp_seg_next_roadname = Nav_amp_seg_next_roadname;
	}

	/**
	 * 当前行驶路径的轨迹所有点坐标集合 --- 规划好的路径坐标集合 所有包涵的点 都减去 开头点的坐标
	 * 
	 * @return
	 */
	public String getNav_amp_router_locs() {
		return Nav_amp_router_locs;
	}

	/**
	 * 当前行驶路径的轨迹所有点坐标集合 --- 规划好的路径坐标集合 所有包涵的点 都减去 开头点的坐标
	 * 
	 * @param Nav_amp_router_locs
	 */
	public void setNav_amp_router_locs(String Nav_amp_router_locs) {
		this.Nav_amp_router_locs = Nav_amp_router_locs;
	}

	/**
	 * 经纬度 ----当前车（暂用手机定位） 经纬度 坐标 减去 路线口头坐标计算后的结果
	 * 
	 * @return
	 */
	public String getNav_amp_current_loc() {
		return Nav_amp_current_loc;
	}

	/**
	 * 经纬度 ----当前车（暂用手机定位） 经纬度 坐标 减去 路线口头坐标计算后的结果
	 * 
	 * @param Nav_amp_current_loc
	 */
	public void setNav_amp_current_loc(String Nav_amp_current_loc) {
		this.Nav_amp_current_loc = Nav_amp_current_loc;
	}

	/**
	 * 当前行驶道路名
	 * 
	 * @return
	 */
	public String getNav_amp_current_roadname() {
		return Nav_amp_current_roadname;
	}

	/**
	 * 当前行驶道路名
	 * 
	 * @param Nav_amp_current_roadname
	 */
	public void setNav_amp_current_roadname(String Nav_amp_current_roadname) {
		this.Nav_amp_current_roadname = Nav_amp_current_roadname;
	}

	/**
	 * 总距离
	 * 
	 * @return
	 */
	public String getNav_amp_distance_router_totail() {
		return Nav_amp_distance_router_totail;
	}

	/**
	 * 总距离
	 * 
	 * @param Nav_amp_distance_router_totail
	 */
	public void setNav_amp_distance_router_totail(
			String Nav_amp_distance_router_totail) {
		this.Nav_amp_distance_router_totail = Nav_amp_distance_router_totail;
	}

	/**
	 * 剩余道路距离
	 * 
	 * @return
	 */
	public String getNav_amp_distance_router_leftOver() {
		return Nav_amp_distance_router_leftOver;
	}

	/**
	 * 剩余道路距离
	 * 
	 * @param Nav_amp_distance_router_leftOver
	 */
	public void setNav_amp_distance_router_leftOver(
			String Nav_amp_distance_router_leftOver) {
		this.Nav_amp_distance_router_leftOver = Nav_amp_distance_router_leftOver;
	}

	/**
	 * 剩余时间
	 * 
	 * @return
	 */
	public String getNav_amp_time_router_leftOver() {
		return Nav_amp_time_router_leftOver;
	}

	/**
	 * 剩余时间
	 * 
	 * @param Nav_amp_time_router_leftOver
	 */
	public void setNav_amp_time_router_leftOver(
			String Nav_amp_time_router_leftOver) {
		this.Nav_amp_time_router_leftOver = Nav_amp_time_router_leftOver;
	}

	/**
	 * 当前道路限速提示
	 * 
	 * @return
	 */
	public String getNav_amp_road_limit_speed() {
		return Nav_amp_road_limit_speed;
	}

	/**
	 * 当前道路限速提示
	 * 
	 * @param Nav_amp_road_limit_speed
	 */
	public void setNav_amp_road_limit_speed(String Nav_amp_road_limit_speed) {
		this.Nav_amp_road_limit_speed = Nav_amp_road_limit_speed;
	}

	/**
	 * 当前定位城市 限行尾号 的 限行时间段
	 * 
	 * @return
	 */
	public String getNav_amp_current_limits_timeRage() {
		return Nav_amp_current_limits_timeRage;
	}

	/**
	 * 当前定位城市 限行尾号 的 限行时间段
	 * 
	 * @param Nav_amp_current_limits_timeRage
	 */
	public void setNav_amp_current_limits_timeRage(
			String Nav_amp_current_limits_timeRage) {
		this.Nav_amp_current_limits_timeRage = Nav_amp_current_limits_timeRage;
	}

	/**
	 * 实时车速
	 * 
	 * @return
	 */
	public String getNav_amp_current_speed() {
		return Nav_amp_current_speed;
	}

	/**
	 * 实时车速
	 * 
	 * @param Nav_amp_current_speed
	 */
	public void setNav_amp_current_speed(String Nav_amp_current_speed) {
		this.Nav_amp_current_speed = Nav_amp_current_speed;
	}

	/**
	 * 车角度
	 * 
	 * @return
	 */
	public String getJj_setting_flag() {
		return Jj_setting_flag;
	}

	/**
	 * 车角度
	 * 
	 * @param Nav_amp_current_rotate
	 */
	public void setJj_setting_flag(String Jj_setting_flag) {
		this.Jj_setting_flag = Jj_setting_flag;
	}

	/**
	 * 线路 坐标 数组 个数
	 * 
	 * @return
	 */
	public String getNav_amp_router_locs_count() {
		return Nav_amp_router_locs_count;
	}

	/**
	 * 线路 坐标 数组 个数
	 * 
	 * @param Nav_amp_router_locs_count
	 */
	public void setNav_amp_router_locs_count(String Nav_amp_router_locs_count) {
		this.Nav_amp_router_locs_count = Nav_amp_router_locs_count;
	}

	/**
	 * 导航开始0开始  1结束   9未知错误
	 * 
	 * @return
	 */
	public String getNav_amp_nav_state() {
		return Nav_amp_nav_state;
	}

	/**
	 * 导航开始0开始  1结束   9未知错误
	 * 
	 * @param Nav_amp_nav_state
	 */
	public void setNav_amp_nav_state(String Nav_amp_nav_state) {
		this.Nav_amp_nav_state = Nav_amp_nav_state;
	}

	/**
	 * app 状态   0前台  1后台   9退出
	 * 
	 * @return
	 */
	public String getNav_app_state() {
		return Nav_app_state;
	}

	/**
	 * app 状态   0前台  1后台   9退出
	 * 
	 * @param Nav_app_state
	 */
	public void setNav_app_state(String Nav_app_state) {
		this.Nav_app_state = Nav_app_state;
	}

	/**
	 * 当前定位城市 限行尾号
	 * 
	 * @return
	 */
	public String getNav_amp_current_limits_number() {
		return Nav_amp_current_limits_number;
	}

	/**
	 * 当前定位城市 限行尾号
	 * 
	 * @param nav_amp_current_limits_number
	 */
	public void setNav_amp_current_limits_number(
			String nav_amp_current_limits_number) {
		Nav_amp_current_limits_number = nav_amp_current_limits_number;
	}

	/**
	 * 当前 工作日 为周几
	 * 
	 * @return
	 */
	public String getNav_amp_current_workday() {
		return Nav_amp_current_workday;
	}

	/**
	 * 当前 工作日 为周几
	 * 
	 * @param nav_amp_current_workday
	 */
	public void setNav_amp_current_workday(String nav_amp_current_workday) {
		Nav_amp_current_workday = nav_amp_current_workday;
	}

	/**
	 * 当前城市
	 * 
	 * @return
	 */
	public String getNav_amp_current_city() {
		return Nav_amp_current_city;
	}

	/**
	 * 当前城市
	 * 
	 * @param nav_amp_current_city
	 */
	public void setNav_amp_current_city(String nav_amp_current_city) {
		Nav_amp_current_city = nav_amp_current_city;
	}

	/**
	 * 天气
	 * 
	 * @return
	 */
	public String getNav_amp_current_weather() {
		return Nav_amp_current_weather;
	}

	/**
	 * 天气
	 * 
	 * @param nav_amp_current_temperature
	 */
	public void setNav_amp_current_weather(
			String nav_amp_current_weather) {
		Nav_amp_current_weather = nav_amp_current_weather;
	}

	/**
	 * 温度区间
	 * 
	 * @return
	 */
	public String getNav_amp_current_temperatureRage() {
		return Nav_amp_current_temperatureRage;
	}

	/**
	 * 温度区间
	 * 
	 * @param nav_amp_current_temperatureRage
	 */
	public void setNav_amp_current_temperatureRage(
			String nav_amp_current_temperatureRage) {
		Nav_amp_current_temperatureRage = nav_amp_current_temperatureRage;
	}

	/**
	 * PM2.5 值
	 * 
	 * @return
	 */
	public String getNav_amp_PM25() {
		return Nav_amp_PM25;
	}

	/**
	 * PM2.5 值
	 * 
	 * @param nav_amp_PM25
	 */
	public void setNav_amp_PM25(String nav_amp_PM25) {
		Nav_amp_PM25 = nav_amp_PM25;
	}

	/**
	 * 当前日期 2015年05月19日
	 * 
	 * @return
	 */
	public String getNav_amp_current_date() {
		return Nav_amp_current_date;
	}

	/**
	 * 当前日期 2015年05月19日
	 * 
	 * @param nav_amp_current_date
	 */

	public void setNav_amp_current_date(String nav_amp_current_date) {
		Nav_amp_current_date = nav_amp_current_date;
	}

	public static String toArrayList(HUDParameterEntity hudParameterEntity) {
		return StringUtil.ArrayListToString(hudParameterEntity);
	}

	@Override
	public String GetTableName() {
		return null;
	}
	
	

}
